﻿using System.Windows;

namespace TemperatureWP
{
    public partial class MainPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void PhoneApplicationPage_BackKeyPress(object sender, System.ComponentModel.CancelEventArgs e)
        {
            if (MessageBox.Show("Are you sure you want to exit?", "Exit TempReg", MessageBoxButton.OKCancel) != MessageBoxResult.OK)
                e.Cancel = true;
        }
    }
}